package com.qf.commerce.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class GoodsReturnedDto {
    /**
     * 主键
     */
    private Long returnOrderId;

    /**
     * 退货描述
     */
    private String returnDescribed;

    /**
     * 退货图片地址
     */
    private String returnPicture;

    /**
     * 退货方式
     */
    private String returnWay;

    /**
     * 退款金额
     */
    private BigDecimal returnMoney;

    /**
     * 退款方式
     */
    private String returnMoneyWay;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 1为退运费 0为不退运费
     */
    private Integer freightStatus;

    /**
     * 退货物流单号
     */
    private String returnTrackingNumber;

    /**
     * 退货单状态 0表示待审核 -1表示拒绝退款 1表示待收货 2表示待退款 3表示异常退款 4表示待到账 5完成
     */
    private Integer returnStatus;

    /**
     * 拒绝退货原因
     */
    private String refuseReturnReason;

    /**
     * 异常退货备注
     */
    private String abnormalReturnReason;
    private String logisticsCompany;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    private String returnReason;

    /*//订单
    private OrderList orderList;
    //顾客地址
    private List<Address> address;
    //退货 原因
    private ReturnReason returnReason;
    //商家地址
    private List<Warehouse> warehouses;
    private List<ReturnWaybill> returnWaybill;*/
}


